{{! -------------------------------------------------------------------------- }}
{{! Copyright 2002-2016, OpenNebula Project, OpenNebula Systems                }}
{{!                                                                            }}
{{! Licensed under the Apache License, Version 2.0 (the "License"); you may    }}
{{! not use this file except in compliance with the License. You may obtain    }}
{{! a copy of the License at                                                   }}
{{!                                                                            }}
{{! http://www.apache.org/licenses/LICENSE-2.0                                 }}
{{!                                                                            }}
{{! Unless required by applicable law or agreed to in writing, software        }}
{{! distributed under the License is distributed on an "AS IS" BASIS,          }}
{{! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   }}
{{! See the License for the specific language governing permissions and        }}
{{! limitations under the License.                                             }}
{{! -------------------------------------------------------------------------- }}

<div id="import_templates_form_wrapper">
  <form data-abide novalidate id="{{formPanelId}}Wizard" class="custom creation">
  </form>
  <form data-abide novalidate class="vcenter_credentials" action="">
    <div class="row">
      <div class="large-3 medium-6 columns">
        <label for="vcenter_host">{{tr "Hostname"}}</label>
        <input type="text" name="vcenter_host" id="vcenter_host" required />
      </div>
      <div class="large-3 medium-6 columns">
        <label for="vcenter_user">{{tr "User"}}</label>
        <input type="text" name="vcenter_user" id="vcenter_user" required />
      </div>
      <div class="large-3 medium-6 columns">
        <label for="vcenter_password">{{tr "Password"}}</label>
        <input type="password" name="vcenter_password" id="vcenter_password" required />
      </div>
      <div class="large-3 medium-6 columns">
        <label>&nbsp;</label>
        <button type="submit" class="button radius">
          {{tr "Get VM Templates"}}
        </button>
      </div>
    </div>
  </form>
  <div class="row collapse">
    {{{vCenterTemplatesHTML}}}
  </div>
</div>